package com.shelpe.services.sinbad.entity.jpa;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import lombok.Data;

@Entity(name = "template_dimension_tags")
@Data
public class TemplateTags {

	public final static String SOURCE_SEEK = "seek";
	public final static String SOURCE_MANUAL = "manual";

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private long tableID;
	@Column(name = "dim_id")
	private long dimID;
	@Column(name = "dim_name")
	private String dimName;
	@Column(name = "tag_name")
	private String tagName;
	@Column(name = "option_group_id")
	private long optionGroupID;
	@Column(name = "tag_id")
	private long tagID;
	@Column(name = "template_id")
	private long templateID;
	private String templateName;
	@Column(name = "sync_date")
	@Temporal(TemporalType.DATE)
	private Date syncDate;
	private String source;
}
